package ai.wprolog.exception;

public class PrologSyntaxException extends Exception {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	//Constants:

	//Attributes:
	private String message;
	//Constructors:
	public PrologSyntaxException(String message) {
		this.message = message;
	}
	
	//Methods:
	@Override
	public String getMessage() {
		return this.message;
	}
	@Override
	public String toString() {
		return this.getMessage();
	}
	
	
}
